import {request} from '../../utils/request'


export function usedCircularList(pageInfo){
    return request({
        url: "/middle-server/api/usedCircular/usedCircularList",
        method: "POST",
		contentType:'JSON',
        data: pageInfo
    })
}


export function addUsedCircular(params){
    return request({
        url: "/middle-server/api/usedCircular/addUsedCircular",
        method: "POST",
		contentType:'JSON',
        data: params
    })
}

export function updateUsedCircular(params){
    return request({
        url: "/middle-server/api/usedCircular/updateUsedCircular",
        method: "POST",
		contentType:'JSON',
        data: params
    })
}

export function getContact(id){
    return request({
        url: "/middle-server/api/usedCircular/getContact",
        method: "GET",
        data: {usedCircularId:id}
    })
}